package com.liangzhong.model.stadium.stadiumDataManager
{
	import flash.utils.ByteArray;
	
	/**
	 * 比赛球员位置 
	 * @author Administrator
	 * 
	 */	
	public class PlayerPlaceVo
	{
		public function PlayerPlaceVo()
		{
		}
		/**
		 *位置 
		 */
		public var place 	:String;
		/**
		 *球员Id 
		 */
		public var pid		:int;
		/**
		 *x 
		 */
		public var fx		:int;
		/**
		 *Y 
		 */
		public var fy		:int;
		/**
		 * 头像地址 
		 */		
		public var headurl :String ;
		/**
		 *解析数据By ByteArray 
		 * @param $byteArray
		 * 
		 */
		public function analysisDataByByteArray($byteArray:ByteArray):void
		{
			
			
		}
		/**
		 *解析数据by  Object 
		 * @param $obj
		 * 
		 */
		public function analysisDataByObject($obj:Object):void
		{
			for(var str:String in $obj)
			{
				this[str] = $obj[str];
			}
		}
		/**
		 *解析记录中数据
		 * @param obj
		 */		
		public function parseHistoryData(obj :Object):void
		{
			for(var str:String in obj)
			{
				if(this.hasOwnProperty(str))
				{
					this[str] = obj[str];
				}
			}
		}
	}
}